package service.impl;

import bean.VideoHall;
import dao.VideoHallDao;
import dao.impl.VideoHallDaoImpl;
import service.VideoHallService;

import java.util.List;

public class VideoHallServiceImpl implements VideoHallService {
    private  VideoHallDao videoHallDao = new VideoHallDaoImpl();
    @Override
    public List<VideoHall> getVideoHallByCinemaId(int cinemaId) {
        return videoHallDao.getVideoHallByCinemaId(cinemaId);
    }
}
